<?php

//echo Abs(1123.123);
//echo Acos(111.222);

/*function myfunction1(&$value,$key)
{
    $value="yellow";
}
$a=array("a"=>"red","b"=>"green","c"=>"blue");
array_walk($a,"myfunction1");
print_r($a);*/


function check_abort()
{
    if (connection_aborted())
        error_log ("Script $GLOBALS[SCRIPT_NAME]" .
            "$GLOBALS[SERVER_NAME] was aborted by the user.");
}

//要执行的一些代码

// 在脚本结束时调用 check_abort 函数
register_shutdown_function("check_abort");





















?>